package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author hpiggy
 * @since 2025-03-21
 */
@Data
@TableName("lkl_merchant_teacher")
@ApiModel(value = "LklMerchantTeacher对象", description = "")
public class LklMerchantTeacher implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long merchantId;

    private Long merchantSetId;

    @ApiModelProperty("校区ID")
    private Long schoolId;

    private Long teacherId;

    private Long subjectsId;

    @ApiModelProperty("1精品课")
    private Integer lessonType;

    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;


    @ApiModelProperty("教师名")
    @TableField(exist = false)
    private String teacherName;

    @ApiModelProperty("科目名")
    @TableField(exist = false)
    private String subjectsName;


    @ApiModelProperty("校区")
    @TableField(exist = false)
    private String schoolName;

    @ApiModelProperty("商户名称")
    @TableField(exist = false)
    private String merchantName;

    @ApiModelProperty("年份")
    @TableField(exist = false)
    private Integer yearPart;

    @ApiModelProperty("学期")
    @TableField(exist = false)
    private Integer quarterNum;

}
